function foo () {}
var bar = function() {}
var obj = { get foo () {}, set foo (val) {}, bar () {} };
/*
output:
function foo() {}
var bar = function () {}
var obj = { get foo() {}, set foo(val) {}, bar() {} };
 */
class Foo { constructor () {} *method () {} }
//output: class Foo { constructor() {} *method() {} }

var foo = { bar () {} }
//output: var foo = { bar() {} }